package com.fortune.dto.in.dStoreIn;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * Created by Administrator on 2018/5/26 0026.
 */
public class DStoreInitProduceDto {
    @NotNull(message="商品ID不能为空")
    @ApiModelProperty(example="商品ID")
    private int mpid;
    @NotBlank(message="初始化数量不能为空")
    @ApiModelProperty(example="初始化数量")
    private String num;

    public int getMpid() {
        return mpid;
    }

    public void setMpid(int mpid) {
        this.mpid = mpid;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }
}
